package com.aggregate.pay.pingan.bean;

import com.aggregate.pay.pingan.enums.CheckStatus;
import com.aggregate.pay.pingan.jackson.converter.CheckStatusDeserialize;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 商户列表接口－响应参数－商户信息
 * @author Moyq5
 * @date 2017年6月25日
 */
public class MerchListResultItem {

	/**
	 * 商户编号，必填，20
	 */
	@JsonProperty("mct_no")
	private String merchNo;
	
	/**
	 * 商户名称，必填，50
	 */
	@JsonProperty("mct_name")
	private String merchName;
	
	/**
	 * 品牌名称，必填，50
	 */
	@JsonProperty("brand_name")
	private String brandName;
	
	/**
	 * 省份，必填，30
	 */
	private String province;
	
	/**
	 * 城市，必填，30
	 */
	private String city;
	
	/**
	 * 县/区，必填，30
	 */
	private String county;
	
	/**
	 * 城市编码，必填，6
	 */
	@JsonProperty("cityid")
	private String cityId;
	
	/**
	 * 分类编号(多个以小写逗号分开)，必填，100
	 */
	@JsonProperty("clsids")
	private String catIds;
	
	/**
	 * 分类名称(多个以小写逗号分开)，必填，100
	 */
	@JsonProperty("clsnames")
	private String catNames;
	
	/**
	 * 详细地址，必填，150
	 */
	private String address;
	
	/**
	 * 外部商户主键编号，必填，64
	 */
	@JsonProperty("tra_id")
	private String merchId;
	
	/**
	 * 商户状态，必填，1
	 */
	@JsonDeserialize(converter = CheckStatusDeserialize.class)
	private CheckStatus status;
	
	/**
	 * 审核备注，必填，50
	 */
	private String remark;
	
	/**
	 * 添加时间（yyyy-mm-dd hh:ii:ss），必填
	 */
	@JsonProperty("add_time")
	private String addTime;
	
	/**
	 * 更新时间（yyyy-mm-dd hh:ii:ss），必填
	 */
	@JsonProperty("upd_time")
	private String updateTime;
	
	/**
	 * 门店数量，必填，9
	 */
	@JsonProperty("shop_count")
	private Integer shopCount;
	
	/**
	 * 终端数量，必填，9
	 */
	@JsonProperty("tml_count")
	private Integer terminalCount;
	
	/**
	 * 合同数量，必填，9
	 */
	@JsonProperty("ctt_count")
	private Integer contractCount;

	/**
	 * 开通应用数量，必填，9
	 */
	@JsonProperty("app_count")
	private Integer appCount;
	
	/**
	 * 机构编号，9
	 */
	@JsonProperty("agent_no")
	private String agentNo;
	
	/**
	 * 机构名称，50
	 */
	@JsonProperty("agent_name")
	private String agentName;
	
	/**
	 * 客户经理用户编号，必填，9
	 */
	@JsonProperty("adm_id")
	private Integer adminId;
	
	/**
	 * 客户经理姓名，25
	 */
	@JsonProperty("adm_true_name")
	private String adminName;

	public String getMerchNo() {
		return merchNo;
	}

	public void setMerchNo(String merchNo) {
		this.merchNo = merchNo;
	}

	public String getMerchName() {
		return merchName;
	}

	public void setMerchName(String merchName) {
		this.merchName = merchName;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getCatIds() {
		return catIds;
	}

	public void setCatIds(String catIds) {
		this.catIds = catIds;
	}

	public String getCatNames() {
		return catNames;
	}

	public void setCatNames(String catNames) {
		this.catNames = catNames;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getMerchId() {
		return merchId;
	}

	public void setMerchId(String merchId) {
		this.merchId = merchId;
	}

	public CheckStatus getStatus() {
		return status;
	}

	public void setStatus(CheckStatus status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getShopCount() {
		return shopCount;
	}

	public void setShopCount(Integer shopCount) {
		this.shopCount = shopCount;
	}

	public Integer getTerminalCount() {
		return terminalCount;
	}

	public void setTerminalCount(Integer terminalCount) {
		this.terminalCount = terminalCount;
	}

	public Integer getContractCount() {
		return contractCount;
	}

	public void setContractCount(Integer contractCount) {
		this.contractCount = contractCount;
	}

	public Integer getAppCount() {
		return appCount;
	}

	public void setAppCount(Integer appCount) {
		this.appCount = appCount;
	}

	public String getAgentNo() {
		return agentNo;
	}

	public void setAgentNo(String agentNo) {
		this.agentNo = agentNo;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	@Override
	public String toString() {
		return "MerchListResultItem [merchNo=" + merchNo + ", merchName=" + merchName + ", brandName=" + brandName
				+ ", province=" + province + ", city=" + city + ", county=" + county + ", cityId=" + cityId
				+ ", catIds=" + catIds + ", catNames=" + catNames + ", address=" + address + ", merchId=" + merchId
				+ ", status=" + status + ", remark=" + remark + ", addTime=" + addTime + ", updateTime=" + updateTime
				+ ", shopCount=" + shopCount + ", terminalCount=" + terminalCount + ", contractCount=" + contractCount
				+ ", appCount=" + appCount + ", agentNo=" + agentNo + ", agentName=" + agentName + ", adminId="
				+ adminId + ", adminName=" + adminName + "]";
	}
}
